package com.gxl.butt.dto.bo;

import com.alibaba.fastjson.JSONObject;
import com.gxl.butt.dto.vo.IPBean;

import java.io.Serializable;

/**
 * 封装业务请求对象
 * Created by guoxiaolin on 2018/7/13.
 */
public class Ip implements Serializable{

    private Long id;//用户uuid

    private String IP;//用户账号

    private Long userid;

    private IPBean ipBean;

    private String openid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIP() {
        return IP;
    }

    public void setIP(String IP) {
        this.IP = IP;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public IPBean getIpBean() {
        return ipBean;
    }

    public void setIpBean(IPBean ipBean) {
        this.ipBean = ipBean;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    @Override
    public String toString() {
        return "Ip{" +
                "id=" + id +
                ", IP='" + IP + '\'' +
                ", userid=" + userid +
                ", ipBean=" + ipBean +
                ", openid='" + openid + '\'' +
                '}';
    }
}
